package com.julang.check.api.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.julang.check.bean.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 赵自强
 * @since 2019-06-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("j_yyreport_analysis")
@ApiModel(value = "YyReportAnalysis", description = "PaperYY重复句和重复词记录")
public class YyReportAnalysis extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * yy报告文件的id
	 */
	@TableField("report_id")
	@JsonIgnore
	@ApiModelProperty(value = "yy报告文件的id", name = "report_id", example = "1")
	private Integer reportId;

	/**
	 * 原文
	 */
	@ApiModelProperty(value = "原文", name = "origin_sentence", example = "<em class=\"similar\">ABSTRACT:As a new type " +
            "of " +
			"short-distance wireless access technology,D2D communication technology has the advantages of reducing " +
			"comunication delay and base station load.</em>At the same time,it")
	@TableField("origin_sentence")
	private String originSentence;

	/**
	 * 重复词
	 */
	@TableField("repeat_words")
	@ApiModelProperty(value = "重复词", name = "repeat_words", example = "abstract、type、short、distance、wireless、access" +
            "、technology、communication、advantages、reducing、comunication、delay、base、station、load")
	private String repeatWords;

	public YyReportAnalysis(Integer reportId, String originSentence, String repeatWords) {
		this.reportId = reportId;
		this.originSentence = originSentence;
		this.repeatWords = repeatWords;
	}
}
